﻿using dz.u9.jky.schema.Common;
using dz.util.core;
using Microsoft.AspNetCore.Mvc;

namespace dz.u9.webapi.Controllers
{
    /// <summary>
    /// 需求分类
    /// </summary>

    [Route("api/[controller]/[action]")]
    [ApiController]
    public class DemandController : U9BaseController
    {
        [HttpPost]
        public async Task<U9CResult> Add(DzDemand demand)
        {   
            return await U9Invoke(JsonUtil.Serialize(demand), new ApiParm() { Url = "DzDemand/Add", Desc = "需求分类新增" });
        }
    }
}
